package com.wjw;

/**
 * Singgleton - 内部类
 *
 * @author ikaros
 * @date 2024/7/18 2:00
 * @see <a href="ikaros@qq.com">mailTo: ikaros@qq.com</a>
 */
public class Singleton06 {

    private Singleton06() {
    }

    private static class Singleton06Holder {
        private static Singleton06 instance = new Singleton06();
    }

    public static Singleton06 getInstance() {
        return Singleton06Holder.instance;
    }
}
